﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： JobRecordEntity.cs
// 项目名称：斑马车务
// 创建时间：2019/10/31
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///作业记录数据实体  
	/// </summary>
    [PrimaryKey("RecordId")]
	public class JobRecord
	{
		///<summary>
		///作业记录
		///</summary>
		public JobRecord()
		{
		}	
    
		
		///<summary>
		///作业流水ID，自增
		///</summary>
        [Column("RecordId","作业流水ID，自增")]
        public int RecordId { get; set; }

		///<summary>
		///
		///</summary>
        [Column("JobId","")]
        public int JobId { get; set; }

		///<summary>
		///数据分类ID
		///</summary>
        [Column("DataCategoryID","数据分类ID")]
        public int DataCategoryID { get; set; }

		///<summary>
		///成功数量
		///</summary>
        [Column("SuccessCount","成功数量")]
        public int SuccessCount { get; set; }

		///<summary>
		///失败数量
		///</summary>
        [Column("FailCount","失败数量")]
        public int FailCount { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreatedDate","创建时间")]
        public DateTime CreatedDate { get; set; }

		///<summary>
		///最后一次数据记录执行时间
		///</summary>
        [Column("LastDataRecordTime","最后一次数据记录执行时间")]
        public DateTime LastDataRecordTime { get; set; }

		///<summary>
		///
		///</summary>
        [Column("Param","")]
        public string Param { get; set; }

	}
}